<link rel="stylesheet" href="__BASIC__/css/datepicker.css"/>
<script src="__BASIC__/js/bootstrap-datepicker.js"></script>
<script src="__HOMEPUBLIC__/Js/Trace/add.js"></script>
<!--breadcrumbs-->
<div id="content-header">
    <div id="breadcrumb"><a href="/Home/CarLog/index" title="Go to Home" class="tip-bottom"><i class="icon-th-list"></i>
        追溯管理</a><a href="/Home/CarLog/add" class="current">追溯详情</a>
    </div>
</div>
<!--End-breadcrumbs-->
<!--隐藏域-->
<input type="hidden" id="hidId" value="{$info.id}">
<!--end 隐藏域-->
<!--Action boxes-->
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <foreach name="cate" item="item">
                <div class="widget-box">
                    <div class="widget-title"><span class="icon"> <i class="icon-align-justify"></i> </span>
                        <h5>{$item.cate_name}</h5>
                    </div>
                    <div class="widget-content nopadding">
                        <foreach name="item.info" item="v">
                            <!--填充信息-->
                            <form method="get" class="form-horizontal">
                                <div class="control-group">
                                    <label class="control-label">{$v[1]}</label>
                                    <div class="controls">
                                        <if condition="$v[2] eq 0">
                                            <input id="cate_name" type="text" placeholder="{$v[1]}" class="span11">
                                            <else/>
                                            <input id="usable_time" type="text" data-date-format="yyyy-mm-dd"
                                                   class="datepicker span11">
                                        </if>
                                    </div>
                                </div>
                            </form>
                        </foreach>
                    </div>
                </div>
            </foreach>
            <div>
                <a onclick="save_info()" class="btn btn-success span2">保存</a>
            </div>
        </div>
    </div>
</div>


